/*****************************************************************
*
*	Netcare Agent Project
*		Copyright(C) 2010, Wicresoft EKA. All Rights Reserved.
*
*	Authors:
*		Miles Chen (milesch@wicresoft.com)
*		TingRong Shi (trshi@wicresoft.com)
*
*	Part of the product code depends on gSOAP under GPL license
*		Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
*
*****************************************************************/
#pragma once
#include "ns.h"
#include "LogListener.h"

NETCARE_AGENT;

USING_STD;

class CConsoleLogListener :
	public CLogListener
{
public:
	CConsoleLogListener(void);
	~CConsoleLogListener(void);

	virtual void WriteLine(const char* level, const wchar_t* message);
	virtual void WriteLine(const char* level, const char* message);

private:
	static ostream& _os;
};

ENDNS ENDNS